package com.qys.livesMall.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.app.user.model.dto.app.AppUserInfoTeamIncomeDTO;
import com.qys.livesMall.app.user.model.vo.app.AppUserInfoTeamDetailVo;
import com.qys.livesMall.finance.model.vo.AppUserInfoTeamIncomeVO;
import com.qys.livesMall.framework.view.BaseQuery;
import com.qys.livesMall.shop.modal.entity.H2ShopBase;
import com.qys.livesMall.shop.modal.entity.ShopStatisticsTeam;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.shop.modal.vo.AppShopInfoTeamVo;

import java.util.List;

/**
 * <p>
 * 团队统计数据 服务类
 * </p>
 *
 * @author
 * @since 2023-11-03
 */
public interface ShopStatisticsTeamService extends IService<ShopStatisticsTeam> {

    ShopStatisticsTeam getByShopId(Long shopId);

    void initTeamInfo(Long userId,Long ShopId);

    AppShopInfoTeamVo getShopTeam(Long userId);

    Page<AppUserInfoTeamDetailVo> getUserShoplist(BaseQuery baseQuery);

    Page<AppUserInfoTeamIncomeVO> getShoplistIncome(AppUserInfoTeamIncomeDTO incomeDTO);

    void updateShopExc(List<Long> shopIds);
}
